home *** CD-ROM | disk | FTP | other *** search
-
-
-
- llllsssshhhhaaaaddddeeeerrrraaaannnnggggeeee((((3333GGGG)))) llllsssshhhhaaaaddddeeeerrrraaaannnnggggeeee((((3333GGGG))))
-
-
-
- NNNNAAAAMMMMEEEE
- llllsssshhhhaaaaddddeeeerrrraaaannnnggggeeee - sets range of color indices used for depth-cueing
-
- CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
- vvvvooooiiiidddd llllsssshhhhaaaaddddeeeerrrraaaannnnggggeeee((((lllloooowwwwiiiinnnn,,,, hhhhiiiigggghhhhiiiinnnn,,,, zzzznnnneeeeaaaarrrr,,,, zzzzffffaaaarrrr))))
- CCCCoooolllloooorrrriiiinnnnddddeeeexxxx lllloooowwwwiiiinnnn,,,, hhhhiiiigggghhhhiiiinnnn;;;;
- lllloooonnnngggg zzzznnnneeeeaaaarrrr,,,, zzzzffffaaaarrrr;;;;
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- _l_o_w_i_n expects the low-intensity color map index.
-
- _h_i_g_h_i_n expects the high-intensity color map index.
-
- _z_n_e_a_r expects the nearer screen z, to which highin is mapped.
-
- _z_f_a_r expects the farther screen z, to which lowin is mapped.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- llllsssshhhhaaaaddddeeeerrrraaaannnnggggeeee sets the range of color indices used for depth-cueing. The
- screen z range [_z_n_e_a_r, _z_f_a_r] is mapped linearly into the color index
- range [_h_i_g_h_i_n, _l_o_w_i_n]. Screen z values nearer than _z_n_e_a_r map to _h_i_g_h_i_n;
- screen z values farther than _z_f_a_r map to _l_o_w_i_n.
-
- The valid range for _z_n_e_a_r and _z_f_a_r depends on the state of the
- GLC_ZRANGEMAP compatibility mode (see ggggllllccccoooommmmppppaaaatttt). If it is 0, the valid
- range depends on the graphics hardware. When multisample is enabled, and
- multisample buffers exist in the current framebuffer configuration in the
- current drawmode, the minimum is the value returned by
- ggggeeeettttggggccccoooonnnnffffiiiigggg((((GGGGCCCC____MMMMSSSS____ZZZZMMMMIIIINNNN)))) and the maximum is the value returned by
- ggggeeeettttggggccccoooonnnnffffiiiigggg((((GGGGCCCC____MMMMSSSS____ZZZZMMMMAAAAXXXX)))). Otherwise, the minimum is the value returned by
- ggggeeeettttggggccccoooonnnnffffiiiigggg((((GGGGCCCC____ZZZZMMMMIIIINNNN)))) and the maximum is the value returned by
- ggggeeeettttggggccccoooonnnnffffiiiigggg((((GGGGCCCC____ZZZZMMMMAAAAXXXX)))). If the state of the GLC_ZRANGEMAP compatibility
- mode is 1, the minimum is 0x0 and the maximum is 0x7FFFFF. The default
- is llllsssshhhhaaaaddddeeeerrrraaaannnnggggeeee((((0000,,,, 7777,,,, _Z_m_i_n,,,, _Z_m_a_x)))), where _Z_m_i_n and _Z_m_a_x are the values such
- that the full range supported by the graphics hardware is used.
-
- _Z_n_e_a_r and _z_f_a_r should be chosen to be consistent with the _n_e_a_r and _f_a_r
- parameters passed to llllsssseeeettttddddeeeepppptttthhhh.... If _n_e_a_r < _f_a_r, then _z_n_e_a_r should be less
- than _z_f_a_r. If _n_e_a_r > _f_a_r, then _z_n_e_a_r should be greater than _z_f_a_r. In
- either case, the range [_n_e_a_r, _f_a_r] should bound the range [_z_n_e_a_r, _z_f_a_r].
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- depthcue, getgdesc, glcompat, lsetdepth
-
- NNNNOOOOTTTTEEEE
- When using this routine, you should always explicitly set the
- GLC_ZRANGEMAP mode of ggggllllccccoooommmmppppaaaatttt because its default is different on
- different models.
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-